#ifndef __BSP_IIC_H
#define __BSP_IIC_H


#include <STC89C5xRC.H>
#include <intrins.h>


sbit scl = P1^0;
sbit sda = P1^1;


void IIC_Start();
	
void IIC_Stop();

void IIC_SendAck(unsigned char AckBit);


unsigned char IIC_ReceiveAck();

void IIC_SendByte(unsigned char Byte);


unsigned char IIC_ReceiveByte();


void Oled_Write_Cmd(unsigned char Datacmd);


void Oled_Write_Data(unsigned char Data);






#endif